package com.cdut.logistics.model.entity.BaseModel;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

public  abstract class BaseUser <M extends BaseUser<M>> extends Model<M> implements IBean {
	public void setId(java.lang.Integer id) {
		set("id", id);
	}

	public java.lang.Integer getId() {
		return get("id");
	}
	public void setSchool_id(java.lang.Integer school_id) {
		set("school_id", school_id);
	}

	public java.lang.Integer getSchool_id() {
		return get("school_id");
	}
	
	public void setAcademy_id(java.lang.Integer academy_id) {
		set("academy_id", academy_id);
	}

	public java.lang.Integer getAcademy_id() {
		return get("academy_id");
	}
	
	public void setDorm_id(java.lang.Integer dorm_id) {
		set("dorm_id", dorm_id);
	}

	public java.lang.Integer getDorm_id() {
		return get("dorm_id");
	}
	
	public void setMajor_id(java.lang.Integer major_id) {
		set("major_id", major_id);
	}

	public java.lang.Integer getMajor_id() {
		return get("major_id");
	}
	
	
	public void setRole_id(java.lang.Integer role_id) {
  		set("role_id", role_id);
  	}

  	public java.lang.Integer getRole_id() {
  		return get("role_id");
  	}
  	
  	public void setUpdated(java.util.Date updated) {
		set("updated", updated);
	}

	public java.util.Date getUpdated() {
		return get("updated");
	}
	
	public void setCreated(java.util.Date created) {
		set("created", created);
	}

	public java.util.Date getCreated() {
		return get("created");
	}
	public void setName(java.lang.String name) {
		set("name", name);
	}

	public java.lang.String getName() {
		return get("name");
	}
	public void setIdentity(java.lang.String identity) {
		set("identity", identity);
	}

	public java.lang.String getIdentity() {
		return get("identity");
	}
	public void setPhone(java.lang.String phone) {
		set("phone", phone);
	}

	public java.lang.String getPhone() {
		return get("phone");
	}
	public void setSex(java.lang.String sex) {
		set("sex", sex);
	}

	public java.lang.String getSex() {
		return get("sex");
	}
	
	public void setPassword(java.lang.String password) {
		set("password", password);
	}

	public java.lang.String getPassword() {
		return get("password");
	}
	public void setStudent_code(java.lang.String student_code) {
		set("student_code", student_code);
	}

	public java.lang.String getStudent_code() {
		return get("student_code");
	}
	public void setRemarks(java.lang.String remarks) {
		set("remarks", remarks);
	}

	public java.lang.String getRemarks() {
		return get("remarks");
	}
	public void setActive(java.lang.Integer active) {
		set("active", active);
	}

	public java.lang.Integer getActive() {
		return get("active");
	}
	public void setIs_use(java.lang.Integer is_use) {
		set("is_use", is_use);
	}

	public java.lang.Integer getIs_use() {
		return get("is_use");
	}
}
